package com.Validate.demo;


import com.validate.annotation.Null;
import com.validate.annotation.NullGroup;
import com.validate.annotation.Valid;

public class model {

	@Null
	@NullGroup({@Null()})
	private String d ;

	@Null(groups = "d2")
	private Integer d2 = 0;

	@Valid
	private model2 d3 = new model2();

	public String getD() {
		return d;
	}

	public Integer getD2() {
		return d2;
	}
}
